<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <link rel="icon" href="__ROOT__/favicon.ico">

    <title>{$Think.config.CMS_COMPANY}-后台登录</title>

    <!-- Bootstrap core CSS -->
    <link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="__PUBLIC__/font-awesome/css/font-awesome.min.css">
    <!--[if IE 7]>
    <link rel="stylesheet" href="__PUBLIC__/font-awesome/css/font-awesome-ie7.min.css">
    <![endif]-->

    <!-- Custom styles for this template -->
    <link href="__PUBLIC__/custom/css/admin-theme-default.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script src="__PUBLIC__/bootstrap/js/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/fullscreenbg/js/jquery.fullscreenBackground.js"></script>

     <script type="text/javascript">
        $(document).ready(function () {
            $("#background-image").fullscreenBackground();
        });
    </script> 
  </head>
 <body>
  <div id="background-image">
   <?php $bgSrc="__PUBLIC__/images/bigbg/bg_".rand(1,4).".jpg" ?>
   <img src="{$bgSrc}" alt="" width="800" height="600" />
  </div>
    <div class="container">
      
      <form id="form" class="form-horizontal login-form" role="form">
        <h3 class="form-horizontal-heading">后台登录</h3>
        <div class="form-group">
           <div class="col-sm-12">
              <div class="input-group">
                <div class="input-group-addon"><i class="icon-user"></i>&nbsp;</div>
                <input class="form-control" type="text"  id="nickname" name="nickname" placeholder="用户名">
              </div>
            </div>    
        </div>
        <div class="form-group">
          <div class="col-sm-12">
            <div class="input-group">
              <div class="input-group-addon"><i class="icon-lock"></i>&nbsp;</div>
              <input class="form-control" type="password"  id="upwd" name="upassword" placeholder="密码">
            </div>
          </div>  
        </div>
        
        <div class="form-group <empty name='isVerify'>hide</empty>" id="isverify">
          <div class="col-sm-7">
             <div class="input-group ">
                <div class="input-group-addon"><i class="icon-legal"></i></div>
                <input class="form-control" type="text"  id="yzm" name="yzm" placeholder="验证码">
              </div>
          </div>
          <div class="col-sm-5">
            <div class="input-group">
              <img style="cursor:pointer" class="form-verify" title="点击刷新" src="{:U('/Plugin/Verify/verify/id/0')}" id='verifyImg' onClick='freshVerify()'/> 
            </div>  
          </div>
        </div>
       
        <div class="form-group">
          <div class="col-sm-4">
             <button class="btn  btn-primary " type="button" onclick="submit_login('__URL__/checkLogin');">登录</button>
          </div>
          <div class="col-sm-8 login-into-home">
             <i class="icon-hand-right"> </i><a href="__ROOT__/">{$Think.config.CMS_COMPANY}</a>
          </div>
        </div>
      </form>
       <div id="eInfo" class="alert alert-danger error-alert" style="width:360px;margin:40px auto;display:none">
         <span id="sInfo">你输入的邮箱格式错误。</span><!-- 1、你输入的邮箱格式错误，2、你输入的Email 未找到。3、你输入的密码错误。 -->
           <a href="javascript:showInfo(0,'closeThit');" class="pull-right pull-right" style="color:#A94442"><i class="icon-remove pull-right"></i></a></div>   
    </div>
  </body>
  
  <script type="text/javascript" src="__PUBLIC__/custom/js/admin.login.js"></script>
 
</html>